import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {GnCrudModule, GnDataModule} from "geminis-ng";
import {ModellerComponent} from "./modeller/modeller.component";
import {ModelListComponent} from "./list/model-list.component";
import {SecurityModule} from "geminis-ng-resources";
import {FormComponent} from "./form/form.component";
import {MatDividerModule} from "@angular/material/divider";
import {PropertyComponent} from "./form/property/property.component";

const routes: Routes = [
];

@NgModule({
  declarations: [
    ModelListComponent,
    ModellerComponent,
    FormComponent,
    PropertyComponent
  ],
  imports: [
    RouterModule.forChild(routes),
    SecurityModule,
    GnCrudModule,
    MatDividerModule
  ],
  exports: [
    ModelListComponent,
    ModellerComponent,
    FormComponent,
    PropertyComponent
  ],
  entryComponents:[
    ModellerComponent,
    FormComponent,
    PropertyComponent
  ]
})

export class ModelModule {
}
